#ifndef DIALOGCHOIX2EMEIMAGE_H
#define DIALOGCHOIX2EMEIMAGE_H

#include <QDialog>
#include "ui_dialogchoix2emeimage.h"
#include "image.h"

namespace Ui {
    class DialogChoix2emeImage;
}

class DialogChoix2emeImage : public QDialog
{
    Q_OBJECT
    Q_ENUMS(typeAppel)

public:
    enum typeAppel
    {
            imageMemeTaille = 0,
            imagePasMemeTaille = 1
    };

    DialogChoix2emeImage(QWidget *parent = 0);
    DialogChoix2emeImage(QWidget *parent = 0, int indexCourante=0, QList<Image> listeImages = * new QList<Image>(), typeAppel type = imageMemeTaille);
    ~DialogChoix2emeImage();

    typeAppel type;
    int * correspondance;
    int nbImage;

private:
    Ui::DialogChoix2emeImage ui;

signals:
    void retourDialogMemeTaille(int index);
    void retourDialogPasMemeTaille(int index);

private slots:
    void validation();
};

#endif // DIALOGCHOIX2EMEIMAGE_H
